/************************************************************
* author: alexander.aivars <alexander.aivars&#64;svt.se>
* $Date:2007-12-19 11:39:12 +0100 (Wed, 19 Dec 2007) $
* $Revision:196 $
* $HeadURL:svn://stoiis03.internt.svt.se/SVTiFLASH/trunk/SVTSE/Source/Classes/se/svt/web/models/HighScoreData.as $
* $Id:HighScoreData.as 196 2007-12-19 10:39:12Z alai $
************************************************************/
package se.svt.web.models
{
	import flash.events.IEventDispatcher;

	public class HighScoreData extends NetData
	{
		private var _playerName:String;
		private var _data:String;
		private var _email:String;
		private var _score:Number = -1;

		private var _isUid:int = 0; 
		private var _focusResult:int = 0;
	
		public function HighScoreData(target:IEventDispatcher=null)
		{
			//TODO: implement function
			super(target);
		}
		
		public function set playerName(str:String):void { _playerName = str; }
		public function set data(str:String):void { _data = str; }
		public function set email(str:String):void { _email = str; }
		public function set score(value:Number):void { _score = value; }
		public function set isMember(value:Boolean):void { _isUid = value?1:0; }
		public function set showFocusResult(value:Boolean):void { _focusResult = value?1:0; }

		public function get playerName():String { return _playerName; }
		public function get data():String { return _data; }
		public function get email():String { return _email; }
		public function get score():Number { return _score; }
		public function get isMember():Boolean { return (_isUid==1)?true:false; }
		public function get showFocusResult():Boolean { return (_focusResult==1)?true:false; }
		
	}
}